home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -in_the_mag- / emulation / consoles / vision-8 / sources / makefile.x < prev    next >
Makefile  |  1997-12-12  |  489b  |  24 lines

  1. # Makefile for Vision-8 X-Windows
  2.  
  3. # Following #defines can be used:
  4. # MITSHM        Use MIT SHM extensions
  5. # DEBUG            Compile with builtin debugger
  6. # HAVE_CLOCK        clock() is available on this machine
  7.  
  8. CFLAGS = -Wall -O2 -DMITSHM -DHAVE_CLOCK
  9.  
  10. OBJECTS = X.o CHIP8.o C8Debug.o
  11.  
  12. all: v8
  13.  
  14. clean:
  15.     rm -f *.o *~
  16.  
  17. # Make sure the X11 library path is set correctly
  18. v8: $(OBJECTS)
  19.     $(CC) -L/usr/X11/lib -o v8 $(OBJECTS) -lXext -lX11
  20.  
  21. X.o: X.c CHIP8.h
  22. CHIP8.o: CHIP8.c CHIP8.h
  23. C8Debug.o: C8Debug.c CHIP8.h
  24.